package com.js.lib_common.mvp.model.response;

import java.io.Serializable;

/**
 * Created by wz on 2020/11/9.
 */
public class MissionDetailResponse implements Serializable {

    private MissionResponse mMissionResponse;

    /**
     * id : 633ededbd8b04c9abe11802116a67fb1
     * taskId : 5be356085688454b969053ac090787b8
     * orderId : 00fbf2bea27847d49151383cb696c24a
     * operatedBy : 5a1873539607447594cdaaee9400c6d3
     * operatedTime : 2020-11-17T01:10:44.820+00:00
     * logType : 2
     * logTypeName :  接单
     * logInfo : 请yansheng1接受任务
     * ifMilepost : false
     * pictureUrl : null
     * startTime : null
     * endTime : null
     * operatedTimeStr : 2020-11-17 09:10:44
     */

    private String id;
    private String taskId;
    private String orderId;
    private String operatedBy;
    private String operatedTime;
    private int logType;
    private String logTypeName;
    private String logInfo;
    private boolean ifMilepost;
    private String pictureUrl;
    private String startTime;
    private String endTime;
    private String operatedTimeStr;
    private  boolean isLast=false;

    public MissionResponse getMissionResponse() {
        return mMissionResponse;
    }

    public void setMissionResponse(MissionResponse missionResponse) {
        mMissionResponse = missionResponse;
    }

    public boolean isLast() {
        return isLast;
    }

    public void setLast(boolean last) {
        isLast = last;
    }




    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOperatedBy() {
        return operatedBy;
    }

    public void setOperatedBy(String operatedBy) {
        this.operatedBy = operatedBy;
    }

    public String getOperatedTime() {
        return operatedTime;
    }

    public void setOperatedTime(String operatedTime) {
        this.operatedTime = operatedTime;
    }

    public int getLogType() {
        return logType;
    }

    public void setLogType(int logType) {
        this.logType = logType;
    }

    public String getLogTypeName() {
        return logTypeName;
    }

    public void setLogTypeName(String logTypeName) {
        this.logTypeName = logTypeName;
    }

    public String getLogInfo() {
        return logInfo;
    }

    public void setLogInfo(String logInfo) {
        this.logInfo = logInfo;
    }

    public boolean isIfMilepost() {
        return ifMilepost;
    }

    public void setIfMilepost(boolean ifMilepost) {
        this.ifMilepost = ifMilepost;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public String getStartTime() {
        return startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public String getOperatedTimeStr() {
        return operatedTimeStr;
    }

    public void setOperatedTimeStr(String operatedTimeStr) {
        this.operatedTimeStr = operatedTimeStr;
    }
//
//    @Override
//    public int compareTo(MissionDetailResponse response) {
//        if(response.logType>this.logType){
//            return -1;
//        }else if(response.logType==this.logType){
//            return 0;
//        }else{
//            return 1;
//        }
//    }


    //    public static List<MissionDetailResponse> initTimeInfo(){
//        List<MissionDetailResponse> items = new ArrayList<>();
//        items.add(new MissionDetailResponse("分派工单", "10-01，周二", "XXX派单~", Color.parseColor("#f36c60"), R.drawable.timeline_ic_tea));
//        items.add(new MissionDetailResponse("接受任务", "06-12，周三", "XXX接受任务", Color.parseColor("#ab47bc"), R.drawable.timeline_ic_drink));
//        items.add(new MissionDetailResponse("就位", "07-07，周四", "XXX到达", Color.parseColor("#aed581"), R.drawable.timeline_ic_draw));
//        items.add(new MissionDetailResponse("关闭阀门", "08-20，周五", "请关闭阀门", Color.parseColor("#5FB29F"), R.drawable.timeline_ic_golf));
//        items.add(new MissionDetailResponse("开启阀门", "08-20，周五", "请关闭阀门", Color.parseColor("#5FB29F"), R.drawable.timeline_ic_golf));
//        return items;
//    }
}
